"""
通用id
"""
RESOURCE_ID = '//*[@resource-id="com.xiaoma.motorcade:id/{}"]'

"""
首页
"""
# 车队首页图标
motorcade_index_icon = '//*[@resource-id="com.xiaoma.motorcade:id/fmt_container"]/android.widget.LinearLayout[{}]/android.widget.ImageView'

# 车队首页提示
motorcade_index_tip_text = '//*[@resource-id="com.xiaoma.motorcade:id/fmt_container"]/android.widget.LinearLayout[{}]/android.widget.TextView'

# 加入车队图标
add_car_icon = '//android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.LinearLayout[{}]/android.widget.ImageView'

# 加入车队说明
add_car_text = '//android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.LinearLayout[{}]/android.widget.TextView'

# 创建车队图标
create_car_icon = '//android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.LinearLayout[{}]/android.widget.ImageView'

# 创建车队说明
create_car_text = '//android.widget.RelativeLayout/android.widget.LinearLayout/android.widget.LinearLayout[{}]/android.widget.TextView'

# 车队图标
motorcade_car_avatar_icon = '//*[@resource-id="com.xiaoma.motorcade:id/rv_motorcade_list"]/android.widget.LinearLayout/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/android.widget.LinearLayout/*[@resource-id="com.xiaoma.motorcade:id/img_motorcade_icon"]'

# 车队名称
motorcade_car_name_text = '//*[@resource-id="com.xiaoma.motorcade:id/rv_motorcade_list"]/android.widget.LinearLayout/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/android.widget.LinearLayout/*[@resource-id="com.xiaoma.motorcade:id/tv_motorcade_name"]'

# 车队口令
motorcade_car_password_text = '//*[@resource-id="com.xiaoma.motorcade:id/rv_motorcade_list"]/android.widget.LinearLayout/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/android.widget.LinearLayout/*[@resource-id="com.xiaoma.motorcade:id/tv_motorcade_id"]'

# 信息设置按钮
motorcade_car_information_settings_btn = '//*[@resource-id="com.xiaoma.motorcade:id/rv_motorcade_list"]/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/android.widget.LinearLayout/*[@resource-id="com.xiaoma.motorcade:id/btn_motorcade_setting"]'

# 退出车队按钮
motorcade_car_quit_btn = '//*[@resource-id="com.xiaoma.motorcade:id/rv_motorcade_list"]/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/android.widget.LinearLayout/*[@resource-id="com.xiaoma.motorcade:id/btn_exit_motorcade"]'

# 人数角标
motorcade_car_number_people_text = '//*[@resource-id="com.xiaoma.motorcade:id/rv_motorcade_list"]/android.widget.RelativeLayout[{}]/android.widget.LinearLayout/*[@resource-id="com.xiaoma.motorcade:id/tv_online_num"]'

# 车主头像
car_users_list_avatar_icon = '//*[@resource-id="com.xiaoma.motorcade:id/fragment_status_rv"]/android.widget.LinearLayout[{}]/android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.FrameLayout/android.widget.RelativeLayout/*[@resource-id="com.xiaoma.motorcade:id/personal_head_iv"]'

# 群主角标
car_user_lord_icon = '//*[@resource-id="com.xiaoma.motorcade:id/fragment_status_rv"]/android.widget.LinearLayout[{}]/android.widget.RelativeLayout/android.widget.FrameLayout/*[@resource-id="com.xiaoma.motorcade:id/team_leader"]'

# 车主名称
car_user_name_text = '//*[@resource-id="com.xiaoma.motorcade:id/fragment_status_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.motorcade:id/owner_nickname_tv"]'

# 离线在线状态
car_user_on_offline_text = '//*[@resource-id="com.xiaoma.motorcade:id/fragment_status_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.motorcade:id/owner_status_tv"]'

# 语音按钮
car_voice_btn =  '//*[@resource-id="com.xiaoma.motorcade:id/click_start_rl"]/android.widget.RelativeLayout[{}]/android.widget.ImageView'

# 在线人数
car_online_number = '//*[@resource-id="com.xiaoma.motorcade:id/view_content"]/android.widget.FrameLayout/android.widget.LinearLayout[{}]/android.widget.TextView'